﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 延期时长
    /// </summary>
    public interface IPostponeTimeService
    {
        Task<int> AddPostponeTimeAsync(int postponeTime);
        Task<int> EditPostponeTimeAsync(int id, int postponeTime);
        Task<int> DeletePostponeTimeAsync(int id);
        Task<List<PostponeTimeDto>> QueryPostponeTimeAllAsync();
        Task<PostponeTimeDto> QueryPostponeTimeByIdAsync(int id);
        //Task<List<PostponeTimeDto>> GetPostponeTimeByNameAsync(string title);
    }
}
